class CreateCnLeechdoms < ActiveRecord::Migration
  def self.up
    create_table :cn_leechdoms do |t|
      t.string :pzwh, :pzwhbz, :ypzwh, :cpmc, :ywmc, :spm, :scdw, :gg, :jx, :cplb, :pzrq
      t.integer :flag
      t.integer :oid, :nul => false, :default => 0
    end
  end

  def self.down
    drop_table :cn_leechdoms
  end
end
